An FPTAS for the parametric knapsack problem
نویسندگان
چکیده
In this paper, we investigate the parametric knapsack problem, in which the item profits are affine functions depending on a real-valued parameter. The aim is to provide a solution for all values of the parameter. It is well-known that any exact algorithm for the problemmay need to output an exponential number of knapsack solutions. We present a fully polynomial-time approximation scheme (FPTAS) for the problem that, for any desired precision ε ∈ (0, 1), computes (1− ε)-approximate solutions for all values of the parameter. This is the first FPTAS for the parametric knapsack problem that does not require the slopes and intercepts of the affine functions to be non-negative but works for arbitrary integral values. Our FPTAS outputs O( 2 ε ) knapsack solutions and runs in strongly polynomial-time O( 4 ε2 ). Even for the special case of positive input data, this is the first FPTAS with a strongly polynomial running time. We also show that this time bound can be further improved to O( 2 ε ·A(n, ε)), where A(n, ε) denotes the running time of any FPTAS for the traditional (nonparametric) knapsack problem.
منابع مشابه
An FPTAS for the Knapsack Problem with Parametric Weights
In this paper, we investigate the parametric weight knapsack problem, in which the item weights are affine functions of the formwi(λ) = ai + λ ·bi for i ∈ {1, . . . ,n} depending on a real-valued parameter λ. The aim is to provide a solution for all values of the parameter. It is well-known that any exact algorithm for the problem may need to output an exponential number of knapsack solutions. ...
متن کاملA Faster FPTAS for the Unbounded Knapsack Problem
The Unbounded Knapsack Problem (UKP) is a well-known variant of the famous 0-1 Knapsack Problem (0-1 KP). In contrast to 0-1 KP, an arbitrary number of copies of every item can be taken in UKP. Since UKP is NP-hard, fully polynomial time approximation schemes (FPTAS) are of great interest. Such algorithms find a solution arbitrarily close to the optimum OPT(I), i.e. of value at least (1− ε)OPT(...
متن کاملA Practical Efficient Fptas for the 0-1 Multi-objective Knapsack Problem
In the present work, we are interested in the practical behavior of a new fptas to solve the approximation version of the 0-1 multiobjective knapsack problem. Nevertheless, our methodology focuses on very general techniques (such as dominance relations in dynamic programming) and thus may be applicable in the implementation of fptas for other problems as well. Extensive numerical experiments on...
متن کاملA Faster FPTAS for #Knapsack
Given a set W = {w1, . . . , wn} of non-negative integer weights and an integer C, the #Knapsack problem asks to count the number of distinct subsets of W whose total weight is at most C. In the more general integer version of the problem, the subsets are multisets. That is, we are also given a set {u1, . . . , un} and we are allowed to take up to ui items of weight wi. We present a determinist...
متن کاملImplementing an efficient fptas for the 0-1 multi-objective knapsack problem
In the present work we are interested in the practical behavior of a new fptas to solve the approximation version of the 0-1 multi-objective knapsack problem. The proposed methodology makes use of very general techniques (such as dominance relations in dynamic programming) and thus may be applicable in the implementation of fptas for other problems as well. Extensive numerical experiments on va...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Inf. Process. Lett.
دوره 126 شماره
صفحات -
تاریخ انتشار 2017